|
|
|
|
|
|
|
Figure B.10. PROJECT.HPJ, the Project file. |
|
|
|
|
|
|
|
|
You first need to edit the [Options] section to identify the topic you want to use as your contents topic. Modify this section so that it looks like this: |
|
|
|
|
|
|
|
|
[Options]
Title=My Help File ;Title to Appear on the Help Title Bar
ErrorLog = Error.TXT ;File to store compile errors
Contents = TableofContents |
|
|
|
|
|
|
|
|
TableofContents is the context string you assigned in the earlier exercise. |
|
|
|
|
|
|
|
|
You also need to modify the [Map] section for the new topics you added. Change this section of PROJECT.HPJ so that it looks like the following: |
|
|
|
|
|
|
|
|
[Map]; section to define context string parameters
CompanyInformation 1
ContactInformation 2
OtherInformation 3
TableofContents 4
ContactPerson 5 |
|
|
|
|
|
|
|
|
You do not add a context string for the pop-up because you will not reference it from a Visual Basic control. |
|
|
|
|
|
|
|
|
Save your changes to this file, and exit to the Microsoft Help Workshop, and then compile your help file. |
|
|
|
|
|
|
|
|
When the file is successfully compiled, return to Visual Basic and run the Company Master application. Select a control in the Contact Information frame and press F1. Select the underlined phrase Contact Person. Your definition now appears (see Figure B.11). |
|
|
|
|
|